// import config from "./cfgUrl";
/**
 * 地图信息配置
 */
let config={
	cfg: {
		mapInfo: {
			//中心点坐标
			center: [37, 102],
			//地图初始化放大级别
			level: 3,
			//最小缩放级别
			minlevel: 1,
			//最大缩放级别
			maxlevel: 14,
			//投影配置
			projection: "EPSG:4326",

			crs: L.CRS.EPSG4326,
			//原点
			orgin: [-180, 90],
			//当前视图范围
			maxBounds: [
				[53.306, 74.355],
				[18.413, 135.703]
			],
			//比例尺
			resolutions: [
				1.40625,
				0.703125,
				0.3515625,
				0.17578125,
				0.087890625,
				0.0439453125,
				0.02197265625,
				0.010986328125,
				0.0054931640625,
				0.00274658203125,
				0.001373291015625,
				0.0006866455078125,
				0.00034332275390625,
				0.000171661376953125,
				0.0000858306884765625,
				0.0000429153442382813,
				0.0000214576721191406,
				0.0000107288360595703,
				0.00000536441802978516
			]
		},
		//地图配置
		maps: [
			//矢量图
			{
				mapType: "vector",
				layers: [{
						serviceType: "wmt",
						name: "全国矢量",
						url: "http://t{s}.tianditu.com/vec_c/wmts?tk=5f62055ba4a942589b724283706c399a&layer=vec&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}",
						subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"],
						attribution: "worldVector",
						isBaseLayer: false,
						orgin: [-180, 90],
						layer: "1120961891288600577",
						//tilematrixset:"c",
						tilematrixSet: "EPSG:4326",
						visibility: true
					},
					{
						serviceType: "wmt",
						name: "地名标注",
						url: "http://t{s}.tianditu.com/cva_c/wmts?tk=5f62055ba4a942589b724283706c399a&layer=cva&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}",
						subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"],
						attribution: "worldVectorLocal",
						isBaseLayer: false,
						orgin: [-180, 90],
						layer: "1120961891288600578",
						//tilematrixset:"c",
						tilematrixSet: "EPSG:4326",
						visibility: true
					}, {
						serviceType: "wmt",
						name: "全国影像",
						url: "http://t{s}.tianditu.com/img_c/wmts?Service=WMTS&Request=GetTile&Version=1.0.0&layer=img&tilematrixset=c&TileMatrix={z}&TileCol={x}&TileRow={y}&style=default&Format=tiles&tk=ec7fe0feda91baac20f7835cfdce24c5",
						attribution: "worldImage",
						isBaseLayer: false,
						subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"],
						orgin: [-180, 90],
						layer: "1120961891288600587",
						//tilematrixset:"c",
						tilematrixSet: "EPSG:4326",
						visibility: true
					},
					{
						serviceType: "wmt",
						name: "天地图影像注记",
						url: "http://t{s}.tianditu.com/cia_c/wmts?Service=WMTS&Request=GetTile&version=1.0.0&layer=cia&tilematrixset=c&TileMatrix={z}&TileCol={x}&TileRow={y}&style=default&Format=tiles&tk=ec7fe0feda91baac20f7835cfdce24c5",
						attribution: "worldImageLocal",
						isBaseLayer: false,
						subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"],
						orgin: [-180, 90],
						layer: "1120961891288600588",
						//tilematrixset:"c",
						tilematrixSet: "EPSG:4326",
						visibility: true
					}
				]
			},
		]
	}
}
export default  config